home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
- <html lang="en">
- <head>
- <title>Manage Local Roles</title>
- </head>
- <body bgcolor="#FFFFFF" link="#000099" vlink="#555555" alink="#77003B">
- <dtml-if manage_tabs>
- <dtml-var manage_tabs>
- </dtml-if>
-
- <dtml-if stat>
- <hr>
- <font color="red"><dtml-var stat></font>
- <hr>
- </dtml-if>
-
- <p>
- <strong>Local roles</strong> allow you to give particular users extra roles
- in the context of this object, in addition to the roles they already have.
-
- <dtml-if has_local_roles>
- <br>
- The following users have been given local roles. To modify the local roles
- given to a particular user, click on the name of the user. To remove all
- local roles from a user, select the checkbox next to the name of the user
- and click the <em>Remove</em> button.
- </p>
- <form action="manage_delLocalRoles" method="POST">
- <table cellspacing="2" border="0">
- <dtml-in get_local_roles>
- <tr>
- <td align="left" valign="top">
- <input type="checkbox" name="userids:list" value="<dtml-var sequence-key html_quote>">
- </td>
- <td align="left" valign="top">
- <a href="manage_editLocalRoles?userid=<dtml-var sequence-key
- fmt="url-quote">"><dtml-var sequence-key></a> (<dtml-in
- sequence-item><dtml-var sequence-item><dtml-unless
- sequence-end>, </dtml-unless></dtml-in>)
- </td>
- </tr>
- </dtml-in>
- <tr>
- <td align="left" valign="top">
- </td>
- <td align="left" valign="top">
- <input type="submit" value="Remove">
- </td>
- </tr>
- </table>
- </form>
- </dtml-if>
-
- <p>
- To give a user extra roles when accessing this object (and its children),
- select a user from the <em>User</em> list below, select the extra
- roles that should be given to that user from the <em>Roles</em> list.
-
- <form action="manage_setLocalRoles" method="POST">
- <table cellspacing="2" border="0">
- <tr>
- <td align="left" valign="top">
- <strong>User</strong>
- <br>
- <select name="userid" size="5">
- <dtml-in get_valid_userids>
- <option value="<dtml-var sequence-item html_quote>"><dtml-var sequence-item>
- </dtml-in>
- </select>
- </td>
-
- <td align="left" valign="top">
- <strong>Roles</strong>
- <br>
- <select name="roles:list" size="5" multiple>
- <dtml-in valid_roles><dtml-if
- "_vars['sequence-item'] not in ('Anonymous', 'Shared')">
- <option value="<dtml-var sequence-item html_quote>"><dtml-var sequence-item>
- </dtml-if>
- </dtml-in>
- </select>
- </td>
- </tr>
- <tr>
- <td align="left" valign="top">
- <input type="submit" value="Add">
- </td>
- <td></td>
- </tr>
- </table>
- </form>
-
-
-
-
- </body>
- </html>
-